<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h3><%=name%></h3>
    <p><span>3</span>秒后跳转到列表页</p>
    <script>
        let span = document.querySelector('span');
        let time = 3;
        setInterval(() => {
            time--
            span.innerHTML = time;
        }, 1000);
       setTimeout(() => {
            window.location.href = '/list'
       }, 3000);
    </script>
</body>
</html>